package com.cavy.platform.server.mapper;

import com.cavy.platform.server.domain.PluginRepositorySetting;
import com.cavy.platform.server.dto.PluginRepositorySettingCreateDto;
import com.cavy.platform.server.dto.PluginRepositorySettingDto;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface PluginRepositorySettingMapper {
    PluginRepositorySettingMapper INSTANCE = Mappers.getMapper(PluginRepositorySettingMapper.class);


    PluginRepositorySetting convert(PluginRepositorySettingCreateDto dto);

    PluginRepositorySettingDto convert(PluginRepositorySetting setting);
}
